<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../../../print.css" type="text/css" media="print">
<meta content="Transformation3D,com.derschmale.wick3d.core.math.Transformation3D,matrix,pitch,roll,rotationX,rotationY,rotationZ,scaleX,scaleY,scaleZ,translateX,translateY,translateZ,translation,viewTransform,yaw,generateInverse,lookAt,moveBackward,moveDown,moveForward,moveLeft,moveRight,moveUp,transformVertices,updateTransformationMatrix,vectorToLocalCoords,vectorToViewCoords,vectorToWorldCoords" name="keywords">
<title>com.derschmale.wick3d.core.math.Transformation3D</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'Transformation3D - Wick3d Documentation';
				var baseRef = '../../../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">Wick3d Documentation</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../../../all-classes.html')" href="../../../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../../all-classes.html')" href="../../../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../../index-list.html')" href="../../../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../../../index.html?com/derschmale/wick3d/core/math/Transformation3D.html&amp;com/derschmale/wick3d/core/math/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;Transformation3D</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class Transformation3D"); titleBar_setSubNav(false,true,false,false,false,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">com.derschmale.wick3d.core.math</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class Transformation3D</td>
</tr>
</table>
<p></p>
  The Transformation3D class represents a transformation of an object in 3D space.
  
  <p></p>
<p>
<span class="classHeaderTableLabel">See also</span>
</p>
<div class="seeAlso">
<a href="../math/Matrix3D.html" target="">com.derschmale.wick3d.core.math.Matrix3D</a>
</div>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Properties</div>
<table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#matrix">matrix</a> : <a href="../math/Matrix3D.html">Matrix3D</a>
<div class="summaryTableDescription">
   The local transformation matrix, which will convert local object coordinates to those of the parent
   </div>
</td><td class="summaryTableOwnerCol">Transformation3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#pitch">pitch</a> : Number<div class="summaryTableDescription">
   The pitch Euler angle (independent rotation about the x-Axis) for the local transformation.</div>
</td><td class="summaryTableOwnerCol">Transformation3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#roll">roll</a> : Number<div class="summaryTableDescription">
   The roll Euler angle (independent rotation about the z-Axis) for the local transformation.</div>
</td><td class="summaryTableOwnerCol">Transformation3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#rotationX">rotationX</a> : Number<div class="summaryTableDescription">
   The rotation about the X-Axis in radians 
   </div>
</td><td class="summaryTableOwnerCol">Transformation3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#rotationY">rotationY</a> : Number<div class="summaryTableDescription">
   The rotation about the Y-Axis in radians 
   </div>
</td><td class="summaryTableOwnerCol">Transformation3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#rotationZ">rotationZ</a> : Number<div class="summaryTableDescription">
   The rotation about the Z-Axis in radians 
   </div>
</td><td class="summaryTableOwnerCol">Transformation3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#scaleX">scaleX</a> : Number<div class="summaryTableDescription">
   The scale factor along the X-Axis
   </div>
</td><td class="summaryTableOwnerCol">Transformation3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#scaleY">scaleY</a> : Number<div class="summaryTableDescription">
   The scale factor along the Y-Axis
   </div>
</td><td class="summaryTableOwnerCol">Transformation3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#scaleZ">scaleZ</a> : Number<div class="summaryTableDescription">
   The scale factor along the Z-Axis
   </div>
</td><td class="summaryTableOwnerCol">Transformation3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#translateX">translateX</a> : Number<div class="summaryTableDescription">
   The x-coordinate of the origin of the object's coordinate system
   </div>
</td><td class="summaryTableOwnerCol">Transformation3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#translateY">translateY</a> : Number<div class="summaryTableDescription">
   The y-coordinate of the origin of the object's coordinate system 
   </div>
</td><td class="summaryTableOwnerCol">Transformation3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#translateZ">translateZ</a> : Number<div class="summaryTableDescription">
   The z-coordinate of the origin of the object's coordinate system
   </div>
</td><td class="summaryTableOwnerCol">Transformation3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#translation">translation</a> : <a href="../math/Vector3D.html">Vector3D</a>
<div class="summaryTableDescription">[read-only]
   The translation or origin of the object's coordinate system
   </div>
</td><td class="summaryTableOwnerCol">Transformation3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#viewTransform">viewTransform</a> : <a href="../math/Matrix3D.html">Matrix3D</a>
<div class="summaryTableDescription">[read-only]</div>
</td><td class="summaryTableOwnerCol">Transformation3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#yaw">yaw</a> : Number<div class="summaryTableDescription">
   The yaw Euler angle (independent rotation about the y-Axis) for the local transformation.</div>
</td><td class="summaryTableOwnerCol">Transformation3D</td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#generateInverse()">generateInverse</a>(useWorldTransform:Boolean = true):void</div>
<div class="summaryTableDescription">
   Generates the inverse of the world or local transformation matrix.</div>
</td><td class="summaryTableOwnerCol">Transformation3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#lookAt()">lookAt</a>(target:<a href="Vector3D.html">Vector3D</a>, cameraMode:Boolean = false):void</div>
<div class="summaryTableDescription">
   Changes the object's transformation matrix so it will be oriented towards a target position.</div>
</td><td class="summaryTableOwnerCol">Transformation3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#moveBackward()">moveBackward</a>(distance:Number):void</div>
<div class="summaryTableDescription">
   Performs a backward movement.</div>
</td><td class="summaryTableOwnerCol">Transformation3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#moveDown()">moveDown</a>(distance:Number):void</div>
<div class="summaryTableDescription">
   Performs a downwards movement.</div>
</td><td class="summaryTableOwnerCol">Transformation3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#moveForward()">moveForward</a>(distance:Number):void</div>
<div class="summaryTableDescription">
   Performs a forward movement.</div>
</td><td class="summaryTableOwnerCol">Transformation3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#moveLeft()">moveLeft</a>(distance:Number):void</div>
<div class="summaryTableDescription">
   Performs a strafing movement to the left.</div>
</td><td class="summaryTableOwnerCol">Transformation3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#moveRight()">moveRight</a>(distance:Number):void</div>
<div class="summaryTableDescription">
   Performs a strafing movement to the right.</div>
</td><td class="summaryTableOwnerCol">Transformation3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#moveUp()">moveUp</a>(distance:Number):void</div>
<div class="summaryTableDescription">
   Performs an upwards movement.</div>
</td><td class="summaryTableOwnerCol">Transformation3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#transformVertices()">transformVertices</a>(vertices:Array, transformedVertices:Array):void</div>
<div class="summaryTableDescription">
   Transforms vertices into view coordinates without creating new instances
   
   </div>
</td><td class="summaryTableOwnerCol">Transformation3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#updateTransformationMatrix()">updateTransformationMatrix</a>(cameraTransform:<a href="Transformation3D.html">Transformation3D</a> = null, parentTransform:<a href="Transformation3D.html">Transformation3D</a> = null):void</div>
<div class="summaryTableDescription">
   Updates the object's world and view transformation matrices.</div>
</td><td class="summaryTableOwnerCol">Transformation3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#vectorToLocalCoords()">vectorToLocalCoords</a>(v:<a href="Vector3D.html">Vector3D</a>):<a href="../math/Vector3D.html">Vector3D</a>
</div>
<div class="summaryTableDescription">
   Transforms a vector or point from world space coordinates to object space coordinates
   
   </div>
</td><td class="summaryTableOwnerCol">Transformation3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#vectorToViewCoords()">vectorToViewCoords</a>(v:<a href="Vector3D.html">Vector3D</a>):<a href="../math/Vector3D.html">Vector3D</a>
</div>
<div class="summaryTableDescription">
   Transforms a vertex into view coordinates
   
   </div>
</td><td class="summaryTableOwnerCol">Transformation3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#vectorToWorldCoords()">vectorToWorldCoords</a>(v:<a href="Vector3D.html">Vector3D</a>):<a href="../math/Vector3D.html">Vector3D</a>
</div>
<div class="summaryTableDescription">
   Transforms a vector or point into world coordinates
   
   </div>
</td><td class="summaryTableOwnerCol">Transformation3D</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="propertyDetail"></a>
<div class="detailSectionHeader">Property detail</div>
<a name="matrix"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">matrix</td><td class="detailHeaderType">property</td>
</tr>
</table>
<div class="detailBody">
<code>public var matrix:<a href="../math/Matrix3D.html">Matrix3D</a></code><p>
   The local transformation matrix, which will convert local object coordinates to those of the parent
   </p></div>
<a name="pitch"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">pitch</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>pitch:Number</code>&nbsp;&nbsp;[read-write]<p>
   The pitch Euler angle (independent rotation about the x-Axis) for the local transformation.
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get pitch():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set pitch(value:Number):void</code>
<br>
</div>
<a name="roll"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">roll</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>roll:Number</code>&nbsp;&nbsp;[read-write]<p>
   The roll Euler angle (independent rotation about the z-Axis) for the local transformation.
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get roll():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set roll(value:Number):void</code>
<br>
</div>
<a name="rotationX"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">rotationX</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>rotationX:Number</code>&nbsp;&nbsp;[read-write]<p>
   The rotation about the X-Axis in radians 
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get rotationX():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set rotationX(value:Number):void</code>
<br>
</div>
<a name="rotationY"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">rotationY</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>rotationY:Number</code>&nbsp;&nbsp;[read-write]<p>
   The rotation about the Y-Axis in radians 
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get rotationY():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set rotationY(value:Number):void</code>
<br>
</div>
<a name="rotationZ"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">rotationZ</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>rotationZ:Number</code>&nbsp;&nbsp;[read-write]<p>
   The rotation about the Z-Axis in radians 
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get rotationZ():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set rotationZ(value:Number):void</code>
<br>
</div>
<a name="scaleX"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">scaleX</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>scaleX:Number</code>&nbsp;&nbsp;[read-write]<p>
   The scale factor along the X-Axis
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get scaleX():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set scaleX(value:Number):void</code>
<br>
</div>
<a name="scaleY"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">scaleY</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>scaleY:Number</code>&nbsp;&nbsp;[read-write]<p>
   The scale factor along the Y-Axis
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get scaleY():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set scaleY(value:Number):void</code>
<br>
</div>
<a name="scaleZ"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">scaleZ</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>scaleZ:Number</code>&nbsp;&nbsp;[read-write]<p>
   The scale factor along the Z-Axis
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get scaleZ():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set scaleZ(value:Number):void</code>
<br>
</div>
<a name="translateX"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">translateX</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>translateX:Number</code>&nbsp;&nbsp;[read-write]<p>
   The x-coordinate of the origin of the object's coordinate system
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get translateX():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set translateX(value:Number):void</code>
<br>
</div>
<a name="translateY"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">translateY</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>translateY:Number</code>&nbsp;&nbsp;[read-write]<p>
   The y-coordinate of the origin of the object's coordinate system 
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get translateY():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set translateY(value:Number):void</code>
<br>
</div>
<a name="translateZ"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">translateZ</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>translateZ:Number</code>&nbsp;&nbsp;[read-write]<p>
   The z-coordinate of the origin of the object's coordinate system
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get translateZ():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set translateZ(value:Number):void</code>
<br>
</div>
<a name="translation"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">translation</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>translation:<a href="../math/Vector3D.html">Vector3D</a></code>&nbsp;&nbsp;[read-only]<p>
   The translation or origin of the object's coordinate system
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get translation():<a href="../math/Vector3D.html">Vector3D</a></code>
<br>
</div>
<a name="viewTransform"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">viewTransform</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>viewTransform:<a href="../math/Matrix3D.html">Matrix3D</a></code>&nbsp;&nbsp;[read-only]<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get viewTransform():<a href="../math/Matrix3D.html">Matrix3D</a></code>
<br>
</div>
<a name="yaw"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">yaw</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>yaw:Number</code>&nbsp;&nbsp;[read-write]<p>
   The yaw Euler angle (independent rotation about the y-Axis) for the local transformation.
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get yaw():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set yaw(value:Number):void</code>
<br>
</div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">Method detail</div>
<a name="generateInverse()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">generateInverse</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
</tr>
</table>
<div class="detailBody">
<code>public function generateInverse(useWorldTransform:Boolean = true):void</code><p>
   Generates the inverse of the world or local transformation matrix. This is typically used by cameras to determine the view transform.
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">useWorldTransform</span>:Boolean</code> (default = <code>true</code>)<code></code> &mdash; Determines whether the world transformation should be used or the local transformation matrix.
   </td>
</tr>
</table>
</div>
<a name="lookAt()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">lookAt</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function lookAt(target:<a href="Vector3D.html">Vector3D</a>, cameraMode:Boolean = false):void</code><p>
   Changes the object's transformation matrix so it will be oriented towards a target position.
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">target</span>:<a href="Vector3D.html">Vector3D</a></code> &mdash; A position in 3D space to which the object should be oriented.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">cameraMode</span>:Boolean</code> (default = <code>false</code>)<code></code> &mdash; Defines if the object to be transformed is a camera.
   </td>
</tr>
</table>
</div>
<a name="moveBackward()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">moveBackward</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function moveBackward(distance:Number):void</code><p>
   Performs a backward movement. The object will move by a certain distance in the direction of its local Z-axis.
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">distance</span>:Number</code> &mdash; The distance to move the camera along the Z-axis.
   </td>
</tr>
</table>
</div>
<a name="moveDown()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">moveDown</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function moveDown(distance:Number):void</code><p>
   Performs a downwards movement. The camera will move by a certain distance in the direction of its local Y-axis.
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">distance</span>:Number</code> &mdash; The distance to move the camera along the Y-axis.
   </td>
</tr>
</table>
</div>
<a name="moveForward()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">moveForward</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function moveForward(distance:Number):void</code><p>
   Performs a forward movement. The object will move by a certain distance in the direction of its local Z-axis.
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">distance</span>:Number</code> &mdash; The distance to move the camera along the Z-axis.
   </td>
</tr>
</table>
</div>
<a name="moveLeft()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">moveLeft</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function moveLeft(distance:Number):void</code><p>
   Performs a strafing movement to the left. The object will move by a certain distance in the direction of its local X-axis.
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">distance</span>:Number</code> &mdash; The distance to move the camera along the X-axis.
   </td>
</tr>
</table>
</div>
<a name="moveRight()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">moveRight</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function moveRight(distance:Number):void</code><p>
   Performs a strafing movement to the right. The object will move by a certain distance in the direction of its local X-axis.
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">distance</span>:Number</code> &mdash; The distance to move the camera along the X-axis.
   </td>
</tr>
</table>
</div>
<a name="moveUp()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">moveUp</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function moveUp(distance:Number):void</code><p>
   Performs an upwards movement. The camera will move by a certain distance in the direction of its local Y-axis.
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">distance</span>:Number</code> &mdash; The distance to move the camera along the Y-axis.
   </td>
</tr>
</table>
</div>
<a name="transformVertices()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">transformVertices</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function transformVertices(vertices:Array, transformedVertices:Array):void</code><p>
   Transforms vertices into view coordinates without creating new instances
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">vertices</span>:Array</code> &mdash; An array of the object's vertices in object space.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">transformedVertices</span>:Array</code> &mdash; An array of the object's vertices in view space.
   
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../geometry/Vertex3D.html" target="">com.derschmale.wick3d.core.geometry.Vertex3D</a>
</div>
</div>
<a name="updateTransformationMatrix()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">updateTransformationMatrix</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function updateTransformationMatrix(cameraTransform:<a href="Transformation3D.html">Transformation3D</a> = null, parentTransform:<a href="Transformation3D.html">Transformation3D</a> = null):void</code><p>
   Updates the object's world and view transformation matrices.
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">cameraTransform</span>:<a href="Transformation3D.html">Transformation3D</a></code> (default = <code>null</code>)<code></code> &mdash; The view transformation object of the Camera
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">parentTransform</span>:<a href="Transformation3D.html">Transformation3D</a></code> (default = <code>null</code>)<code></code> &mdash; The world transformation object of the current object's parent. If null, the object has no parent.
   
   </td>
</tr>
</table>
</div>
<a name="vectorToLocalCoords()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">vectorToLocalCoords</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function vectorToLocalCoords(v:<a href="Vector3D.html">Vector3D</a>):<a href="../math/Vector3D.html">Vector3D</a></code><p>
   Transforms a vector or point from world space coordinates to object space coordinates
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">v</span>:<a href="Vector3D.html">Vector3D</a></code> &mdash; The vertex in object space.
   
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../math/Vector3D.html">Vector3D</a></code> &mdash; 
                        The transformed vertex, in view coordinates
   
   
                        
                     </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../math/Vector3D.html" target="">com.derschmale.wick3d.core.math.Vector3D</a>
</div>
</div>
<a name="vectorToViewCoords()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">vectorToViewCoords</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function vectorToViewCoords(v:<a href="Vector3D.html">Vector3D</a>):<a href="../math/Vector3D.html">Vector3D</a></code><p>
   Transforms a vertex into view coordinates
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">v</span>:<a href="Vector3D.html">Vector3D</a></code> &mdash; The vertex in object space.
   
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../math/Vector3D.html">Vector3D</a></code> &mdash; 
                        The transformed vertex, in view coordinates
   
   
                        
                     </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../geometry/Vertex3D.html" target="">com.derschmale.wick3d.core.geometry.Vertex3D</a>
</div>
</div>
<a name="vectorToWorldCoords()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">vectorToWorldCoords</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function vectorToWorldCoords(v:<a href="Vector3D.html">Vector3D</a>):<a href="../math/Vector3D.html">Vector3D</a></code><p>
   Transforms a vector or point into world coordinates
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">v</span>:<a href="Vector3D.html">Vector3D</a></code> &mdash; The vertex in object space.
   
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../math/Vector3D.html">Vector3D</a></code> &mdash; 
                        The transformed vertex, in view coordinates
   
   
                        
                     </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../math/Vector3D.html" target="">com.derschmale.wick3d.core.math.Vector3D</a>
</div>
</div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright"> 
</center>
</div>
</body>
</html>
<!-- -->
